package com.seecen.pojo.vo;

import lombok.Data;

import java.util.Date;

/**
 * 账本及其统计信息VO
 */
@Data
public class AccountWithStatsVO {
    private Long id;
    private Long userId;
    private Long categoryId;
    private String type;
    private String remark;
    private Date createTime;
    private Date lastUpdateTime;
    
    /**
     * 统计信息
     */
    private Double totalIncome;   // 总收入
    private Double totalExpense;  // 总支出
    private Double balance;       // 结余（收入-支出）
}

